package cc.lucien;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.web.client.RestTemplate;

/**
 * @author lucien-ma
 * @date 2021/9/20
 * @apiNote
 */
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        ApplicationContext applicationContext = SpringApplication.run(Application.class, args);
        RestTemplate restTemplate = applicationContext.getBean(RestTemplate.class);
        System.out.println(restTemplate);
    }
}
